package com.corejava.training.collections.car.pre15.immutable;

public class LaptopImmutable {

	// instance variables of Laptop
	private String company;
	private String model;
	private String os;
	private double processor;

	public String getCompany() {
		return company;
	}

	public String getModel() {
		return model;
	}

	public String getOs() {
		return os;
	}

	public double getProcessor() {
		return processor;
	}

	// constructor with arguments/attributes
	public LaptopImmutable(String com, String model, String os, double cpu){
		this.company = com;
		this.model = model;
		this.os = os;
		this.processor = cpu;
	}
	
	
} // end of class
